package com.xhorse.lockplatform.comm.model;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

@SuppressWarnings("serial")
public class BaseMessage implements Serializable {
	public Map<String, Object> baseMsg = new HashMap<String, Object>();

	public Map<String, Object> putStatus(String status) {
		this.baseMsg.put("status", status);
		return this.baseMsg;
	}

	public Map<String, Object> puterroMsg(String errorMsg) {
		this.baseMsg.put("errorMsg", errorMsg);
		return this.baseMsg;
	}

	public Map<String, Object> putData(Object data) {
		this.baseMsg.put("data", data);
		return this.baseMsg;
	}

	public Map<String, Object> putSessionId(String sessionId) {
		this.baseMsg.put("sessionId", sessionId);
		return this.baseMsg;
	}

	public Map<String, Object> putrquestHeader(String rquestHeader) {
		this.baseMsg.put("rquestHeader", rquestHeader);
		return this.baseMsg;
	}

	public Map<String, Object> putIpAddress(String IpAddress) {
		this.baseMsg.put("IpAddress", IpAddress);
		return this.baseMsg;
	}

	public Map<String, Object> putMacAddress(String MacAddress) {
		this.baseMsg.put("MacAddress", MacAddress);
		return this.baseMsg;
	}
}
